<?php
class ConfirmPictureForm extends BaseForm {
	
	private $pictures; 
	
	public function ConfirmPictureForm(){
		parent::BaseForm();
		
		$this->pictures = array();
	}
	
	public function getPictures(){return $this->pictures; }
	public function setPictures($val){$this->pictures = $val; }
	
	public function clear(){
		$this->pictures = array();
	}
	
	public function getIds(){
		$res = array();
		
		foreach($this->getPictures() as $current){
			$res[] = $current->getId();
		}
		
		return $res;
	}
} 
?>